package com.yh.homestay.service;

import com.yh.homestay.common.DriverEditResult;
import com.yh.homestay.common.HomeStayResult;
import com.yh.homestay.pojo.GuestsDriver;

import java.util.List;

public interface GuestsDriverService {
    HomeStayResult selectall(Integer page, Integer limit, String driverName);
    HomeStayResult addDriver(GuestsDriver guestsDriver);
    HomeStayResult delete(Integer id);
    HomeStayResult update(Integer id, String driverName, String driverPhone, String driverDrivingCreateTime, String driverDrivingExpiredTime, String driverDrivingPic, String driverIdcardA, String driverIdcardB, String driverDrivingType, Integer driverStatus);
    DriverEditResult selectOne(Integer id);
    HomeStayResult deleteAll(List<Integer> ids);
}
